package com.qidian.mes.pro.service;

import com.qidian.mes.pojo.pro.ProWorkorder;
import com.qidian.mes.util.pojo.MESResult;

/**
 * @Author 郭靖旖
 * @Company
 * @Time 2023/10/26 14:55
 * @Description
 **/
public interface ProWorkorderService {
    //按条件分页查询
    MESResult list(int page, int limit, ProWorkorder proWorkorder);
    //分页查询
    MESResult selectByPage(int page,int limit);
    //自动生成编号
    MESResult GenerateTheWorkOrderNumber();
    //添加工单信息
    MESResult save(ProWorkorder proWorkorder);
    //修改工单状态
    MESResult updateStatus(String workorderCode);
    MESResult deleteWorkorder(String workorderCode);
}
